package com.newer.his.common.entity;

import java.math.BigDecimal;



// 药品表
public class Medicine {
	
	int id;			//主键
	String Dname;	//名字
	BigDecimal price;// 价格
	String unit;	 // 单位
	String usage;	 // 用法
	String Type;	 // 类型
	int inventory;	 // 库存
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getDname() {
		return Dname;
	}
	public void setDname(String dname) {
		Dname = dname;
	}
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public String getUsage() {
		return usage;
	}
	public void setUsage(String usage) {
		this.usage = usage;
	}
	public String getType() {
		return Type;
	}
	public void setType(String type) {
		Type = type;
	}
	public int getInventory() {
		return inventory;
	}
	public void setInventory(int inventory) {
		this.inventory = inventory;
	}
	public Medicine() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Medicine(int id, String dname, BigDecimal price, String unit, String usage, String type, int inventory) {
		super();
		this.id = id;
		Dname = dname;
		this.price = price;
		this.unit = unit;
		this.usage = usage;
		Type = type;
		this.inventory = inventory;
	}
	
	
}
